﻿using UnityEngine;
using System.Collections;

public class Range : MonoBehaviour
{
	//把我碰撞的物体销毁掉
	void OnTriggerEnter2D(Collider2D other)
	{
		print (other.name);
		Destroy (other.gameObject);
	}
}
